/**
* @author: yuCloud
* @desc: 环境变量配置
* @params:
* @type:
* @time: 2023-03-27 15:35:05
**/

const env = import.meta.env.MODE || 'prod'
const EnvConfig = {
    development: {
        baseApi: '/api',
        mockApi: 'https://www.fastmock.site/mock/067cdf9811df9ccedaa1870ec3be4734/api'
    },
    test: {
        baseApi: '//test',
        mockApi: 'https://www.fastmock.site/mock/067cdf9811df9ccedaa1870ec3be4734/api'
    },
    prod: {
        baseApi: '//prod',
        mockApi: 'https://www.fastmock.site/mock/067cdf9811df9ccedaa1870ec3be4734/api'
    }
}
export default {
    env,
    mock: false,
    namespace: 'yuCloud', // 命名空间
    ...EnvConfig[env]
}
